package com.server.server_a10.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


@Data
@TableName("home")
public class Home{

    @TableField("id")
    @ApiModelProperty("家的id")
    private long id;
    @TableField(value = "name")
    @ApiModelProperty("name")
    private String name;

    @TableField("master_id")
    @ApiModelProperty("持有者的id")
    private long masterId;
    @TableField("room_count")
    private int room_count;
}
